//
//  TCM_HomeAuctionTirleTableViewCell.swift
//  TCM_TradingProject
//
//  Created by 吕春海 on 2018/8/21.
//  Copyright © 2018年 lvchunhai. All rights reserved.
//

import UIKit

class TCM_HomeAuctionTirleTableViewCell: UITableViewCell {

    @IBOutlet weak var addressLabel: UILabel!
    @IBOutlet weak var clapLable: UILabel!
    @IBOutlet weak var latestLabel: UILabel!
    @IBOutlet weak var varietiesLabel: UILabel!
    @IBOutlet weak var numberLabel: UILabel!
    @IBOutlet weak var clapLableWidth: NSLayoutConstraint!
    @IBOutlet weak var latestLabelWidth: NSLayoutConstraint!
    @IBOutlet weak var varietiesLabelWidth: NSLayoutConstraint!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        if TCM_ScreenWidth == 320 {
            addressLabel.font(12)
            varietiesLabel.font(12)
            clapLable.font(12)
            latestLabel.font(12)
            numberLabel.font(12)
            clapLableWidth.constant = 42
            latestLabelWidth.constant = 42
            varietiesLabelWidth.constant = 53
        } else {
            addressLabel.font(14)
            varietiesLabel.font(14)
            clapLable.font(14)
            latestLabel.font(14)
            numberLabel.font(14)
            clapLableWidth.constant = 48
            latestLabelWidth.constant = 48
            varietiesLabelWidth.constant = 58
        }
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
